
void interpret_ldelem_q()
{
	uint32_t index = popInt32();
	pushQword((uint64_t*)(RAM + popInt32())[index]);
}
void interpret_ldelem_d()
{
	uint32_t ptr = popInt32();
	uint32_t index = popInt32();
	//printf("load %d, from %x %d\n",index,ptr,((uint32_t*)(RAM + ptr))[index]);
	pushDword(((uint32_t*)RAM + ptr)[index]);
}
void interpret_ldelem_w()
{
	uint32_t index = popInt32();
	pushWord((unsigned short*)(RAM + popInt32())[index]);
}
void interpret_ldelem_b()
{
	uint32_t index = popInt32();
	pushByte((unsigned char*)(RAM + popInt32())[index]);
}
